﻿/*
 * @Author: zhougb9 zhougb9@qq.com
 * @Date: 2025-05-19 21:34:45
 * @LastEditors: zhougb9 zhougb9@qq.com
 * @LastEditTime: 2025-05-19 22:16:13
 * @FilePath: \LibreTVe:\Code\LibreTVReact\config\routes.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export default [
  {
    path: '/user',
    layout: false,
    routes: [
      {
        name: 'login',
        path: '/user/login',
        component: './User/Login',
      },
      {
        component: './404',
      },
    ],
  },
  {
    path: '/home',
    name: '首页',
    icon: 'home',
    component: './home',
  },
  {
    path: '/vip',
    name: 'VIP会员',
    icon: 'crown',
    component: './vip',
  },
  {
    path: '/video',
    name: '中视频',
    icon: 'video-camera',
    component: './video',
  },
  {
    path: '/tv',
    name: '电视剧',
    icon: 'desktop',
    component: './tv',
  },
  {
    path: '/movie',
    name: '电影',
    icon: 'play-circle',
    component: './movie',
  },
  {
    path: '/variety',
    name: '综艺',
    icon: 'star',
    component: './variety',
  },
  {
    path: '/anime',
    name: '动漫',
    icon: 'smile',
    component: './anime',
  },
  {
    path: '/kids',
    name: '少儿',
    icon: 'user',
    component: './kids',
  },
  {
    path: '/nba',
    name: 'NBA',
    icon: 'trophy',
    component: './nba',
  },
  {
    path: '/documentary',
    name: '纪录片',
    icon: 'profile',
    component: './documentary',
  },
  {
    path: '/short',
    name: '短剧',
    icon: 'history',
    component: './short',
  },
  {
    path: '/mini-game',
    name: '小游戏',
    icon: 'rocket',
    component: './mini-game',
  },
  {
    path: '/game',
    name: '游戏',
    icon: 'appstore',
    component: './game',
  },
  {
    path: '/sports',
    name: '体育',
    icon: 'dribbble',
    component: './sports',
  },
  {
    path: '/legend',
    name: '传奇游戏库',
    icon: 'appstore',
    component: './legend',
  },
  {
    path: '/tech',
    name: '科技',
    icon: 'customer-service',
    component: './tech',
  },
  {
    path: '/music',
    name: '音乐',
    icon: 'audio',
    component: './music',
  },
  {
    path: '/search',
    component: '@/pages/search/index',
  },
  {
    path: '/play',
    component: '@/pages/play/index',
  },
  {
    path: '/',
    redirect: '/home',
  },
  {
    component: './404',
  },
];
